package com.haolijun.eecms.dao;

import com.haolijun.eecms.entity.TbNoticeComment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * @ClassName TbNoticeCommentDao
 * @Description TODO
 * @Author hljstart
 * @Date 2023/3/11 21:07
 * @Version 1.0
 */
@Mapper
public interface TbNoticeCommentDao {
    // 查询公告评论
    public List<HashMap> searchNoticeComment(@Param("nid") Integer nid);

    // 发布评论
    public int insert(TbNoticeComment noticeComment);

    // 删除评论
    public int delete(@Param("nid") Integer nid);
}
